const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  roles: state => state.user.roles,
  name: state => state.user.name,
  type: state => state.user.type,
  discount: state => state.user.discount,
  permission_routers: state => state.permission.routes // 路由列表
}
export default getters
